package com.wyl.pmd.rule.performance;

public class InefficientStringBuffering {

	
	public static void main(String[] args) {
		
		// bad
		StringBuffer sb = new StringBuffer("tmp = "+System.getProperty("java.io.tmpdir"));

		// good
		StringBuffer sb1 = new StringBuffer("tmp = ");
		sb1.append(System.getProperty("java.io.tmpdir"));
		
	}
	
}
